package com.mxx.exceltoentity.util;

import com.intellij.ide.util.PropertiesComponent;

public class SimpleConfigUtil {

    private static final PropertiesComponent PROPERTIES_COMPONENT = PropertiesComponent.getInstance();

    public static String getString(String key) {
        // key
        // key defaultValue
        return PROPERTIES_COMPONENT.getValue(key);
    }


    public static void save(String key, String value) {
        // key value
        PROPERTIES_COMPONENT.setValue(key, value);
    }


}
